package com.vlong.town.mapper.suggestion;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.vlong.town.entity.suggestion.Suggestion;

/**
 * 意见反馈Mapper接口
 * @author Assassin
 */
@Mapper
public interface SuggestionMapper {

	// Methods

   /**
	* 插入问题反馈DAO接口
	* @param suggestion 参数实体
	* @return suggestionId 插入后的数据库主键值
	*/
	public Long insert(Suggestion suggestion);

   /**
	* 删除问题反馈DAO接口
	* @param suggestionId 主键值
	*/
	public void delete(Long suggestionId);

   /**
	* 更新问题反馈DAO接口
	* @param suggestion 参数实体
	*/
	public void update(Suggestion suggestion);

   /**
	* 主键查询问题反馈DAO接口
	* @param suggestionId 主键值
	* @return Suggestion 实体
	*/
	public Suggestion selectById(Long suggestionId);

   /**
	* 根据条件查询问题反馈DAO接口列表
	* @param suggestion 参数实体
	* @return List<Suggestion> 实体List
	*/
	public List<Suggestion> selectList(Suggestion suggestion);

}